home *** CD-ROM | disk | FTP | other *** search
- Path: ulysses.sax.de!robby
- From: robby@ulysses.sax.de (Robby Paehlig)
- Subject: SetRGB32() doesn't do what it should...
- Message-ID: <425.6611T1194T2896@ulysses.sax.de>
- Newsgroups: comp.sys.amiga.programmer
- X-Newsreader: THOR 2.21 (Amiga;UUCP)
- Date: Wed, 7 Feb 96 19:55:21 GMT
- Organization: a private site in Germany
-
- Here are some lines, that should change color 8 of my Workbench to blue:
-
- [...]
- if(GfxBase = (struct GfxBase *)(OpenLibrary("graphics.library", 39L))) {
- if(wb = LockPubScreen("Workbench")) {
- SetRGB32(&(wb->ViewPort), 8, 0x0ul, 0x0ul, 0xFFul);
- [...]
-
- Well, the color changes -- not to blue, but to black! What I'm doing wrong?
-
- I'm using a 256 color WB (PiccoloSD64).
-
- --
- Robby //
- \X/ robby@ulysses.sax.de
-